Return to doc.sitecore.com

Valid for Sitecore 5.3, 5.2, 5.1.1
5.  Configuration Classes
Prev

Sitecore defines many classes to keep track of and access configuration settings.  This section describes the most commonly used.

5.1.  Sitecore.Globalization.Language

The Sitecore Language structure specifies both the web site languages and supported Sitecore Client Languages.  Web site Languages are defined in /sitecore/system/Languages.  Client Languages are defined in /sitecore/system/Settings/Client languages.

The commonly used class members include:

 

ClientLanguage

Gets or sets the current Client Language.

Current

Gets or sets the current site Language.

GetLanguages

Gets the list of defined Languages.

5.2.  Sitecore.Sites.SiteContext

The SiteContext encapsulates the information stored about a web site in the web.config file.


Prev